package com.csjy.migration.hnnd;

import com.csjy.migration.hnnd.workflow.WorkflowMigration;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;

import javax.script.ScriptException;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.text.SimpleDateFormat;
import java.util.*;
import java.util.concurrent.*;

public class Test  {
  public static void main(String[] args) throws JsonProcessingException, ScriptException, InterruptedException {
    String[] arr = new String[500000];
    String hello = "曹长阳(caochangyang)";
    int startIdx = hello.toString().indexOf("(");
    int endIdx = hello.toString().indexOf(")");

    System.out.println(31/30);
//    for(int i =0;i<500000;i++) {
//      arr[i] = "382323"+i+"-JW";
//    }
//
//    long beginTime = System.currentTimeMillis();
//    System.out.println(System.currentTimeMillis() - beginTime);
//
//    List<Object> list =new ArrayList<>();
//    list.add(new Object());
//
//    BigDecimal b1 = BigDecimal.valueOf(5);
//    BigDecimal b2 = BigDecimal.valueOf(6);
//
//
//    String x = null;

//    System.out.println("323".equals(x.toString()));

    Timestamp ts = Timestamp.valueOf("2020-01-01 00:00:00");
    Timestamp ts2 = Timestamp.valueOf("2018-01-02 00:00:00");

    System.out.println(ts.compareTo(ts2));

  }


}
